import request from "@/utils/request";

/**
 * @RequestMapping("/finance/vBillCollection")
 * 针对VBillCollectionController的请求
 */



/**
 * @GetMapping("/list")
 * @param query
 */
export function listVBillCollection(query) {
  return request({
    url: '/finance/vBillCollection/list',
    method: 'get',
    params: query
  })
}

/**
 * @PostMapping("/listVBillCollectionByProjectIds")
 */
export function listVBillCollectionByProjectIds(projectIds) {
  return request({
    url: '/finance/vBillCollection/listVBillCollectionByProjectIds',
    method: 'post',
    data: projectIds
  })
}

/**
 * @GetMapping(value = "/{id}")
 * @param collectionId
 * @returns {*}
 */
export function getVBillCollection(collectionId) {
  return request({
    url: '/finance/vBillCollection/' + collectionId,
    method: 'get'
  })
}
